package com.suse.ecommerce.beforeEnd;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    /*
    * 页面跳转
    * */
    @RequestMapping("/{page}")
    public  String toPage(@PathVariable String page){
        return page;
    }
}
